package top.topsmart.api.bycenter.mapper;

import org.apache.ibatis.annotations.Param;
import top.topsmart.api.bycenter.entity.mapperParam.GetFollowStatusParam;
import top.topsmart.api.bycenter.model.UserOperation;
import top.topsmart.api.bycenter.entity.pojo.MineEntity;

import java.util.List;

public interface UserOperationMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserOperation record);

    int insertSelective(UserOperation record);

    UserOperation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserOperation record);

    int updateByPrimaryKeyWithBLOBs(UserOperation record);

    int updateByPrimaryKey(UserOperation record);

    UserOperation selectSelective(UserOperation operation);

    List<UserOperation> getMine(MineEntity mineEntity);

    List<UserOperation> getDynamicDetail(String dynamicid,String userId);

    UserOperation getFollowStatus(UserOperation tradition);

    List<UserOperation> getLoves(UserOperation userOperation);

    List<UserOperation> getCommits(UserOperation userOperation);

}